home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 3937 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: aargh.incubus.sub.org!marc
  2. From: marc@aargh.incubus.sub.org (Marc 'Nepomuk' Heuler)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: System-friendly programming. How?
  5. Message-ID: <2y26y*Ura@aargh.incubus.sub.org>
  6. Date: Fri, 16 Feb 1996 11:16:18 CET
  7. Reply-To: marc@aargh.incubus.sub.org
  8. References: <4fvrhe$9ll@Waldemar.mat.uni.torun.pl>
  9. Organization: Data Design
  10. X-Newsreader: Arn V1.03a
  11.  
  12. In article <4fvrhe$9ll@Waldemar.mat.uni.torun.pl>, Andrzej Chojnowski writes:
  13.  
  14. > 1) Is there any way to allocate/deallocate each CIA timer?
  15.  
  16. Yes.  Look up the docs for cia(a|b).resource.
  17.  
  18. > 2) Is there any player routine which don't need CIA timers to run?
  19. >    (I have 3 different routines: pt-play.s, pt-ciaplay.s, ptplay30b.s)
  20.  
  21. Most _old_ noisetrackerreplays do a CPU busy wait for setting DMACON.  They
  22. don't need the CIA then.
  23.  
  24. > Another problem appeared when I opened a 32-colour screen. I don't know how
  25. > to get rid of arrow pointer WITHOUT manipulation on DMACon (I said I wanna
  26. > be system-friendly :) It should be possible.
  27.  
  28. Use SetPointer() with an empty sprite definition.
  29.  
  30. > Last question may sound stupid : How the Amiga multitasks?
  31. > Is that a kind of timer interrupt which switches the tasks?
  32.  
  33. Yes.
  34.  
  35. > Does calling Disable prevent the task change like Forbid does?
  36.  
  37. Yes.  But it should not be your goal to prevent task switches without
  38. really good reason.
  39.